

import Editor, { EditorPreview } from '../component/Editor'
import Cupload, { UploadPreview } from '../component/upload'

import Max_input, { MaxInputPreview } from '../component/Max_input'
import PicImage, { PicImagePreview } from '../component/PicImage'
import Icon, { IconPreview } from '../component/icon'
const Arr = [{
    path: '/',
    el: [{
        com: () => <div>初始页面</div>,
        //
        discription: () => <div>初始页面的说明功能 </div>,
    }],
    text: '初始',
    exact: true,
    readmepath: '/Editor/README.md'

}, {
    path: '/Editor',
    el: [{
        com: Editor,
        discription: () => <EditorPreview />,
    }],
    text: '富文本',
    readmepath: '/Editor/README.md'
}, {
    path: '/Cupload',
    el: [{
        com: Cupload,
        discription: () => <UploadPreview />,
    }],
    text: '文件上传',
    readmepath: '/upload/README.md'
}, {
    path: '/Max_input',
    el: [{
        com: Max_input,
        discription: () => <MaxInputPreview />,
    }],
    text: '文本输入框',
    readmepath: '/Max_input/README.md'
}, {
    path: '/icon',
    el: [{
        com: Icon,
        discription: () => <IconPreview />,
    }],
    text: '图标',
    readmepath: '/icon/README.md'
}, {
    path: '/PicImage',
    el: [{
        com: PicImage,
        discription: () => <PicImagePreview />,
    }],
    text: '公用图片',
    readmepath: '/PicImage/README.md'
},]

export default Arr